<template>
	<a-tag :color="color" class="com-tag" v-if="tag" style="font-weight: 400"> <slot></slot></a-tag>
	<p v-else><slot></slot></p>
</template>

<script setup lang="ts">

defineProps({
	color: {
		type: String,
		default: ""
	},
	tag: {
		type: Boolean,
		default: true
	}
});
</script>

<style scoped lang="scss">
.com-tag {
    color: #4e5969;
}
.no-tag {
	background-color: transparent !important;
	padding: 0;
}

</style>
